const path = require('path');
const { merge } = require('webpack-merge');
const baseConfig = require('./webpack.base.conf');

const devConfig = merge(baseConfig, {
  devServer: {
    port: 3000,
    host: 'localhost',
    open: true,
    compress: true,
    contentBase: path.resolve(__dirname, '../dist')
  },
  mode: 'development'
})

module.exports = devConfig;
